package cn.iocoder.yudao.module.member.controller.app.technician.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 技师 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class AppTechnicianBaseVO {

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25840")
    private Long memberId;

    @Schema(description = "个人介绍", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "个人介绍不能为空")
    private String introduce;

    @Schema(description = "生活照", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "生活照不能为空")
    private String lifePhotos;

    @Schema(description = "评分", requiredMode = Schema.RequiredMode.REQUIRED)
    private String score;

    @Schema(description = "服务状态", example = "1")
    private String status;

}
